function drawModel(model,divid){
  var modele ={
    model: (''+model.race+model.genre).replace(' ','').toLowerCase(),
    modelType:16,
    contentPath:'http://static.wowhead.com/modelviewer/',
    blur:1
  };

  modele.equipList='';
  var sepa='';
  model.arrEquip.each(function(equip,i){
    if (equip ){
     if (
       (equip['slotbak']) && 
       (equip['slotbak']<=25) &&
       (equip['slotbak']!=2) &&
       (equip['slotbak']!=4) &&
       (equip['slotbak']!=-1)){
      modele.equipList = modele.equipList+sepa+equip['slotbak']+','+equip['displayid'];
      sepa=',';
      }
    } 
  });
  //$('myContent2').setHTML(modele.equipList+"#");
  
  swfobject.embedSWF("http://static.wowhead.com/modelviewer/modelviewer_scale.swf?5", divid, "200", "400", "7.0.0","js/expressInstall.swf",modele);
}